package com.quanxiaoha.weblog.admin.service;

import com.quanxiaoha.weblog.admin.model.vo.announcement.*;
import com.quanxiaoha.weblog.common.PageResponse;
import com.quanxiaoha.weblog.common.Response;
import com.quanxiaoha.weblog.common.domain.dos.AnnouncementVO;

public interface AdminAnnouncementService {

    /**
     * 保存公告
     *
     * @param saveAnnouncementReqVO
     * @return
     */
    Response saveAnnouncement(SaveAnnouncementReqVO saveAnnouncementReqVO);

    /**
     * 删除公告
     *
     * @param deleteAnnouncementReqVO
     * @return
     */
    Response deleteAnnouncement(DeleteAnnouncementReqVO deleteAnnouncementReqVO);

    /**
     * 获取公告分页列表
     *
     * @param findAnnouncementPageListReqVO
     * @return
     */
    PageResponse<AnnouncementVO> findAnnouncementPageList(FindAnnouncementPageListReqVO findAnnouncementPageListReqVO);

    /**
     * 获取公告详情
     *
     * @param findAnnouncementDetailReqVO
     * @return
     */
    Response<AnnouncementVO> findAnnouncementDetail(FindAnnouncementDetailReqVO findAnnouncementDetailReqVO);
}